package Test_week_04;

public class Num {
    public static void main(String[] args) {
        int x = 0;
        int y = 0;
        for(int i=0;i<10000;i++){
            x = i + 100;
            y = x + 168;
            if ((Math.sqrt(x)%2==0||Math.sqrt(x)%2==1)&&(Math.sqrt(y)%2==0||Math.sqrt(y)%2==1)){
                System.out.println(i);
            }
        }
    }
}
